﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Wave.aspx.cs" Inherits="WMS6.Web.Outbound.Wave" EnableEventValidation="false"  %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />

    <script src="../Js/jquery.js" type="text/javascript"></script>

    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>

    <script src="../Js/jquery.blockUI.js" type="text/javascript"></script>

    <script src="../Js/util.js" type="text/javascript"></script>

    <script src="../Js/calendar.js" type="text/javascript" charset="gb2312"></script>

    <script src="../Js/InitPage.js" type="text/javascript"></script>

    <script src="../Js/checkbox.js" type="text/javascript"></script>

    <script src="../Js/Verification.js" type="text/javascript"></script>

    <script type="text/javascript">
        //初始化页面
        window.onload = function(){
            initEditNewPage();
        }
        
        function newBatchOrder()
        {
            var from = document.getElementById("hdnFrom").value;
            window.location.href = "Wave.aspx?from=" + escape(from);
            return false;
        } 
        
         
          function showAction()
		{	
			var pos = getElementPos("btnAction");	
			document.getElementById("actionDiv").style.top = pos.y+17;
			document.getElementById("actionDiv").style.left = pos.x;  			
			document.getElementById("hiddenFlag").value = '1';
		}		
       function hiddenDiv()
		{
			var flag = document.getElementById("hiddenFlag").value
			if(flag == "1")
			{
				document.getElementById("actionDiv").style.display = "block";
				document.getElementById("hiddenFlag").value = '0';
			}
			else 
			{
				document.getElementById("actionDiv").style.display = "none";
			}

        }
        //显示 报表 DIV
        function showReport() {
            var pos = getElementPos("htmlbtnReport");
            document.getElementById("reportDiv").style.top = pos.y + 17;
            document.getElementById("reportDiv").style.left = pos.x;
            document.getElementById("hiddenReportFlag").value = '1';
        }


        //隐藏 报表 DIV    
        function hiddenReportDiv() {
            var flag = document.getElementById("hiddenReportFlag").value
            if (flag == "1") {
                document.getElementById("reportDiv").style.display = "block";
                document.getElementById("hiddenReportFlag").value = '0';
            }
            else {
                document.getElementById("reportDiv").style.display = "none";
            }
        }

        function popPrintPickList()
        {
            var OrderID = document.getElementById("hdnOrdersID").value;
            window.open('../Common/PrintReport.aspx?rtype=BATCHPRINTPICKLISTREPORT&orderID=' + escape(OrderID), 'PrintWindow', 'width=860,height=610,top=50,left=50,toolbar=no,menubar=no,scrollbars=yes, resizable=yes,location=no,status=no');
        }

        function popPrintMergePickList() {

            var OrderID = document.getElementById("txtWaveID").value;
            var DetailID = document.getElementById("hdnOrdersID").value;
            var Descr = document.getElementById('txtDescr').value;
            window.open('../Common/PrintReport.aspx?rtype=MERGEPRINTPICKLISTREPORT&orderID=' + escape(OrderID) + "&descr=" + Descr + "&detailID=" + DetailID, 'PrintWindow', 'width=860,height=610,top=50,left=50,toolbar=no,menubar=no,scrollbars=yes, resizable=yes,location=no,status=no');
        }

        function popPrinPickDivide() {

            var OrderID = document.getElementById("txtWaveID").value;
            var DetailID = document.getElementById("hdnOrdersID").value;
            var Descr = document.getElementById('txtDescr').value;
            window.open('../Common/PrintReport.aspx?rtype=PICKDIVIDEREPORT&orderID=' + escape(OrderID) + "&descr=" + escape(Descr) + "&detailID=" + DetailID, 'PrintWindow', 'width=860,height=610,top=50,left=50,toolbar=no,menubar=no,scrollbars=yes, resizable=yes,location=no,status=no');
        }

        function popPrinBatchShippingOrder() {

            var OrderID = document.getElementById("txtWaveID").value;
            var DetailID = document.getElementById("hdnOrdersID").value;
            var Descr = document.getElementById('txtDescr').value;
            window.open('../Common/PrintReport.aspx?rtype=BATCHSHIPPINGORDERREPORT&orderID=' + escape(OrderID) + "&descr=" + Descr + "&detailID=" + DetailID, 'PrintWindow', 'width=860,height=610,top=50,left=50,toolbar=no,menubar=no,scrollbars=yes, resizable=yes,location=no,status=no');
        }

        function popPrinBatchOutboundList() {

            var OrderID = document.getElementById("txtWaveID").value;
            var DetailID = document.getElementById("hdnOrdersID").value;
            var Descr = document.getElementById('txtDescr').value;
            window.open('../Common/PrintReport.aspx?rtype=BATCHOUTBOUNDLISTREPORT&orderID=' + escape(OrderID) + "&descr=" + Descr + "&detailID=" + DetailID, 'PrintWindow', 'width=860,height=610,top=50,left=50,toolbar=no,menubar=no,scrollbars=yes, resizable=yes,location=no,status=no');
        }

        function popPrintBatchPickAdvice() {
            var waveID = document.getElementById("txtWaveID").value;
            var DetailID = document.getElementById("hdnOrdersID").value;
            var Descr = document.getElementById('txtDescr').value;
            window.open('../Common/PrintReport.aspx?rtype=BatchPickAdviceReport&waveID=' + escape(waveID) + "&descr=" + Descr + "&detailID=" + DetailID, 'PrintWindow', 'width=860,height=610,top=50,left=50,toolbar=no,menubar=no,scrollbars=yes, resizable=yes,location=no,status=no');
        }
        
        function popOrder(orderid)
        {          
           FastPopModalWindow('../OutBound/Allocation.aspx?type=QUERY&ID=' + escape(orderid), 'dialogWidth=950px;dialogHeight=600px;center=yes;resizable=yes;status=no;');
        }
        function confirmMsg(code) {
            if (code == "F7300_001") 
            {
                if (confirm('<%=GetGlobalMsgResource("F7300_001") %>')) {
                    return true;
                }
                else {
                    return false;
                }
            }        if (code == "F7300_002") 
            {
                if (confirm('<%=GetGlobalMsgResource("F7300_002") %>')) {
                    return true;
                }
                else {
                    return false;
                }
            }
        
            
        }
        
        function blockScreen()
		{
		    //锁屏
		    $.blockUI.defaults.message = GetBlockUIMsg();
            $.blockUI.defaults.overlayCSS.backgroundColor = GetBlockUIBgColor();
            $.blockUI();
		}
		
		 function ReleasePickTasksByUserID()
		 {	
		   $('#tbReleasePickTasks').modal();	 
		 		 }
		 
		 
		  //关闭
        function ReleasePickTasksClose()
        { 
          $('#tbReleasePickTasks').fadeOut("slow",function(){ $.modal.close();});       
        } 
		
		function GetValue(obj)
        {          
          document.getElementById('hdnUserValue').value=obj.value;
        }
        
                   //弹出窗口选择批号
        function selectUserID()
        {
            var rtnValue = popModalWindow('../Administration/UserQuery.aspx?action=txtLot','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                rtnValue = rtnValue.split(',');
                document.getElementById("txtUserID").focus();
                document.getElementById("txtUserID").value = rtnValue;
           
            }
        }
    </script>

</head>
<body>
    <form id="F7191" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <asp:UpdatePanel ID="up1" runat="server">
            <ContentTemplate>
                <div id="div_top">
                    <table>
                        <tr>
                            <td valign="bottom">
                                <asp:Label ID="lblBatchOrder" runat="server" CssClass="label_header" Text="波次单" meta:resourcekey="lblBatchOrder"></asp:Label>
                            </td>
                            <td>
                                <asp:Button ID="btnNew" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnNew%>"
                                    Enabled="False" OnClientClick="newBatchOrder();" meta:resourcekey="btnNew" />
                            </td>
                            <td>
                                <asp:Button ID="btnSave" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnSave%>"
                                    AccessKey="s" Enabled="False" OnClick="btnSave_Click" meta:resourcekey="btnSave" />
                            </td>
                            <td>
                                <asp:Button ID="btnDelete" runat="server" CssClass="button" Enabled="False" Text="<%$Resources:ButtonResource,btnDelete%>"
                                    AccessKey="d" OnClientClick="if(confirmMsg('F7300_001'))return true; else return false;"
                                    OnClick="btnDelete_Click" meta:resourcekey="btnDelete" />
                            </td>
                            <td>
                                <asp:Button ID="btnRefresh" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnRefresh%>"
                                    AccessKey="d" OnClick="btnRefresh_Click" Enabled="False" />
                            </td>
                            <td>
                                <input id="btnAction" type="button" runat="server" value="<%$Resources:ButtonResource,btnAction%>"
                                    class="button" onclick="showAction();" />
                            </td>
                            <td>
                                <input id="htmlbtnReport" type="button" runat="server" value="<%$Resources:ButtonResource,btnReport%>"
                                    class="button" onclick="showReport();" />
                            </td>
                        </tr>
                    </table>
                </div>
                <div>
                    <asp:Label ID="lblMsg" runat="server" CssClass="label_message" meta:resourcekey="lblMsg"></asp:Label>
                </div>
                <div id="div_menu">
                    <div style="float: left; width: 8px;">
                        <div class="tabL" id="divL1">
                        </div>
                    </div>
                    <div style="float: left;" class="tabLabelCont tabCur" onclick="setTab('one',1,2)"
                        id="divM1">
                        <asp:Label ID="one1" CssClass="hover" runat="server" meta:resourcekey="one1">常规</asp:Label></div>
                    <div style="float: left; margin-right: 2px;">
                        <div class="tabR" id="divR1">
                        </div>
                    </div>
                    <div style="float: left; width: 8px;">
                        <div class="tabL_1" id="divL2">
                        </div>
                    </div>
                    <div style="float: left;" class="tabLabelCont tabCur_1" onclick="setTab('one',2,2)"
                        id="divM2">
                        <asp:Label ID="one2" CssClass="navigationlabel" runat="server" meta:resourcekey="one2">发货订单明细</asp:Label></div>
                    <div style="float: left; margin-right: 2px;">
                        <div class="tabR_1" id="divR2">
                        </div>
                    </div>
                </div>
                <div id="div_content">
                    <div id="con_one_1" style="display: block;">
                        <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                            <tr>
                                <td width="180">
                                    <asp:Label ID="lblWaveID" runat="server" CssClass="label" Text="波次单编号" meta:resourcekey="lblWaveID"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblStatus" runat="server" CssClass="label" Text="状态" meta:resourcekey="lblStatus"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblCreatedDate" runat="server" CssClass="label" Text="创建时间"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtWaveID" runat="server" CssClass="textbox" meta:resourcekey="txtWaveID"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:DropDownList ID="ddlStatus" Enabled="false" runat="server" CssClass="mediumselectbox">
                                    </asp:DropDownList>
                                </td>
                                <td width="180">
                                    <asp:TextBox ID="txtCreatedDate" runat="server" CssClass="textbox" Enabled="false"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="3">
                                    <asp:Label ID="lblDescr" runat="server" CssClass="label" Text="描述" meta:resourcekey="lblDescr"></asp:Label>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="3">
                                    <asp:TextBox ID="txtDescr" runat="server" CssClass="largetextbox" meta:resourcekey="txtDescr"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="lblWaveType" runat="server" CssClass="label" Text="波次类型"></asp:Label>
                                </td>
                                <td>
                                    <asp:Label ID="lblTotalOrderQty" runat="server" CssClass="label" Text="订单总数"></asp:Label>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:DropDownList ID="DropDownList1" Enabled="true" runat="server" CssClass="mediumselectbox">
                                        <asp:ListItem></asp:ListItem>
                                        <asp:ListItem>普通</asp:ListItem>
                                        <asp:ListItem>单品</asp:ListItem>
                                        <asp:ListItem>多品</asp:ListItem>
                                        <asp:ListItem>秒杀</asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtTotalOrderQty" runat="server" CssClass="textbox"></asp:TextBox>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="lblOrderCategoryTotalQty" runat="server" CssClass="label" Text="订单品种总数"></asp:Label>
                                </td>
                                <td>
                                    <asp:Label ID="lblOrderSkuTotalQty" runat="server" CssClass="label" Text="订单货品总数"></asp:Label>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtOrderCategoryTotalQty" runat="server" CssClass="textbox"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtOrderSkuTotalQty" runat="server" CssClass="textbox"></asp:TextBox>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr style="height: 10px;">
                                <td>
                                </td>
                                <td>
                                </td>
                                <td width="180">
                                </td>
                            </tr>
                        </table>
                    </div>
                    &nbsp;<div id="con_one_2" style="display: none; overflow-x: auto; overflow-y: hidden;">
                        <table width="1000px" style="display: block; margin-left: 10px; margin-top: 10px;">
                            <tr>
                                <td>
                                   
                                        <asp:Button ID="btnSearchAndAddDetail" runat="server" CssClass="button" Enabled="False" Visible="false"
                                            Text="<%$Resources:ButtonResource,btnSearchAndAddDetail%>" OnClick="btnSearchAndAddDetail_Click"
                                            AccessKey="n" OnClientClick="javascript:if(document.getElementById('hdnWaveID').value == ''){confirmMsg('F7300_002');}" />
                                        <asp:Button ID="btnAddDetail" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnAddDetail%>"  Visible="false"
                                            OnClick="btnAddDetail_Click" Enabled="False" AccessKey="n" OnClientClick="javascript:if(document.getElementById('hdnWaveID').value == ''){confirmMsg('F7300_002');}" />
                                        <asp:Button ID="btnDeleteDetail" runat="server" CssClass="button" Enabled="False"
                                            Text="<%$Resources:ButtonResource,btnDeleteDetail%>" AccessKey="s" OnClick="btnDeleteDetail_Click" />
                                   
                                </td>
                            </tr>
                            <tr style="height: 10px;">
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <div>
                                        <asp:GridView ID="gvBatchOrderDetail" runat="server" AllowSorting="True" AutoGenerateColumns="False"
                                            AllowPaging="True" OnInit="gvBatchOrderDetail_Init" CssClass="gridview" OnRowDataBound="gvBatchOrderDetail_RowDataBound"
                                            DataKeyNames="OrderID,LineID,Status,OwnerID" Width="800px" OnPageIndexChanging="gvBatchOrderDetail_PageIndexChanging"
                                            OnSorting="gvBatchOrderDetail_Sorting" meta:resourcekey="gvBatchOrderDetail">
                                            <FooterStyle CssClass="GridViewFooterStyle" />
                                            <PagerStyle CssClass="GridViewPageStyle" />
                                            <RowStyle CssClass="GridViewRowStyle" />
                                            <HeaderStyle CssClass="GridViewHeaderStyle" />
                                            <AlternatingRowStyle CssClass="GridViewAlternatingRowStyle" />
                                            <Columns>
                                                <asp:TemplateField meta:resourcekey="TemplateField">
                                                    <HeaderTemplate>
                                                        <img src="../Images/gvSettingpic.gif" id="img01" class="gvSettingImg" onclick="gvUserSetting('7031','gvBatchOrderDetail');"
                                                            onmouseover="showGVUserSettingAlt(this);" alt="customize list" />
                                                        <asp:CheckBox ID="CheckBox1" runat="server" onclick="selectAll(this,'gvBatchOrderDetail');"
                                                            meta:resourcekey="CheckBox1" />
                                                    </HeaderTemplate>
                                                    <ItemTemplate>
                                                        <asp:CheckBox ID="chbSelect" runat="server" meta:resourcekey="chbSelect" />
                                                    </ItemTemplate>
                                                    <FooterTemplate>
                                                        <asp:CheckBox ID="CheckBox2" runat="server" onclick="selectAll(this,'gvBatchOrderDetail');"
                                                            meta:resourcekey="CheckBox2" />
                                                    </FooterTemplate>
                                                    <HeaderStyle HorizontalAlign="Center" CssClass="GridViewRowWidth_40" />
                                                    <ItemStyle HorizontalAlign="Center" CssClass="GridViewRowWidth_40" />
                                                </asp:TemplateField>
                                                <asp:BoundField HeaderText="序号" FooterText="序号" meta:resourcekey="No">
                                                    <ItemStyle CssClass="GridViewRowWidth_40" />
                                                </asp:BoundField>
                                                <asp:TemplateField FooterText="订单号" HeaderText="订单号" SortExpression="OrderID">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblOrderID" runat="server" Text='<%# Eval("OrderID") %>'></asp:Label>
                                                    </ItemTemplate>
                                                    <ItemStyle CssClass="GridViewRowWidth_100" HorizontalAlign="Center" />
                                                </asp:TemplateField>
                                                <asp:BoundField DataField="LineID" HeaderText="订单行号" FooterText="订单行号" SortExpression="LineID"
                                                    meta:resourcekey="OwnerID">
                                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                                </asp:BoundField>
                                                <asp:TemplateField FooterText="状态" HeaderText="状态" SortExpression="StatusD">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblStaus" runat="server" Text='<%# Eval("StatusD") %>'></asp:Label>
                                                    </ItemTemplate>
                                                    <ItemStyle CssClass="GridViewRowWidth_100" HorizontalAlign="Center" />
                                                </asp:TemplateField>
                                                <asp:BoundField DataField="OwnerID" HeaderText="货主代码" FooterText="货主代码" SortExpression="OwnerID"
                                                    meta:resourcekey="OwnerID">
                                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                                </asp:BoundField>
                                                 <asp:BoundField DataField="SkuID" HeaderText="货品代码" FooterText="货品代码" SortExpression="SkuID"
                                                    meta:resourcekey="SkuID">
                                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                                </asp:BoundField>
                                                 <asp:TemplateField FooterText="货品描述" HeaderText="货品描述" SortExpression="SkuDescr">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblSkuDescr" runat="server" Text='<%# Eval("SkuDescr") %>'></asp:Label>
                                                    </ItemTemplate>
                                                    <ItemStyle CssClass="GridViewRowWidth_100" HorizontalAlign="Center" />
                                                </asp:TemplateField>
                                                
                                            </Columns>
                                        </asp:GridView>
                                    </div>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr style="height: 30px;">
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <input type="hidden" id="hdnFrom" runat="server" />
                <input id="hdnFlag" runat="server" type="hidden" />
                <input id="hiddenFlag" runat="server" type="hidden" />
                <input id="hdnRtnValue" runat="server" type="hidden" value="1" />
                <input id="hdnWaveID" runat="server" type="hidden" />
                <input id="hdnOrdersID" runat="server" type="hidden" />
                <input id="hdnUserValue" runat="server" type="hidden" />
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
    <div id="actionDiv" style="background-color: #FFFFFF; position: absolute; display: none;">
        <table width="105" border="0" cellspacing="0" cellpadding="0" id="divcontent_menu">
            <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                <td class="line" id="tdlnkbtnPreAllocation" runat="server" visible="false">
                    <asp:LinkButton ID="lnkbtnPreAllocation" runat="server" Text="<%$Resources:ButtonResource,lnkbtnPreAllocation%>"
                        OnClientClick="blockScreen();" OnClick="lnkbtnPreAllocation_Click"></asp:LinkButton>
                </td>
            </tr>
            <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                <td class="line" id="tdlnkbtnRevertPreAllocation" runat="server" visible="false">
                    <asp:LinkButton ID="lnkbtnRevertPreAllocation" runat="server" Text="<%$Resources:ButtonResource,lnkbtnRevertPreAllocation%>"
                        OnClientClick="blockScreen();" OnClick="lnkbtnRevertPreAllocation_Click"></asp:LinkButton>
                </td>
            </tr>
            <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                <td class="line" id="tdlnkbtnAllocation" runat="server" visible="false">
                    <asp:LinkButton ID="lnkbtnAllocation" runat="server" Text="<%$Resources:ButtonResource,lnkbtnAllocation%>"
                        OnClientClick="blockScreen();" OnClick="lnkbtnAllocation_Click"></asp:LinkButton>
                </td>
            </tr>
            <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                <td class="line" id="tdlnkbtnRevertAllocation" runat="server" visible="false">
                    <asp:LinkButton ID="lnkbtnRevertAllocation" runat="server" Text="<%$Resources:ButtonResource,lnkbtnRevertAllocation%>"
                        OnClientClick="blockScreen();" OnClick="lnkbtnRevertAllocation_Click"></asp:LinkButton>
                </td>
            </tr>
            <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                <td class="line" id="tdlnkbtnReleasePickTasks" runat="server" visible="false">
                    <asp:LinkButton ID="lnkbtnReleasePickTasks" runat="server" Text="<%$Resources:ButtonResource,lnkbtnReleasePickTasks%>"
                        OnClientClick="ReleasePickTasksByUserID(); return false;" OnClick="lnkbtnReleasePickTasks_Click"></asp:LinkButton>
                </td>
            </tr>
            <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                <td class="line" id="tdlnkbtnConfirmPicked" runat="server" visible="false">
                    <asp:LinkButton ID="lnkbtnConfirmPicked" runat="server" Text="<%$Resources:ButtonResource,lnkbtnConfirmPicked%>"
                        OnClientClick="blockScreen();" OnClick="lnkbtnConfirmPicked_Click"></asp:LinkButton>
                </td>
            </tr>
            <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                <td class="line" id="tdlnkbtnShipping" runat="server" visible="false">
                    <asp:LinkButton ID="lnkbtnShipping" runat="server" Text="<%$Resources:ButtonResource,lnkbtnShipping%>"
                        OnClientClick="blockScreen();" OnClick="lnkbtnShipping_Click"></asp:LinkButton>
                </td>
            </tr>
            <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                <td class="line" id="tdlnkbtnCloseOrder" runat="server" visible="false">
                    <asp:LinkButton ID="lnkbtnCloseOrder" runat="server" Text="<%$Resources:ButtonResource,lnkbtnClose%>"
                        OnClientClick="blockScreen();" OnClick="lnkbtnClosed_Click"></asp:LinkButton>
                </td>
            </tr>
        </table>
    </div>
    <input type="hidden" id="hiddenReportFlag" />
    <div id="reportDiv" style="background-color: #FFFFFF; position: absolute; display: none;">
        <table width="105" border="0" cellspacing="0" cellpadding="0" id="divcontent_menu2">
            <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                <td class="line" id="tdlnkbtnPrintPick" runat="server" visible="false">
                    <asp:LinkButton ID="lnkbtnPrintPick" runat="server" Text="<%$Resources:ButtonResource,lnkbtnPrintPick%>"
                        OnClick="lnkbtnPrintPickList_Click"></asp:LinkButton>
                </td>
            </tr>
            <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                <td class="line" id="tdlnkbtnMergePrintPickList" runat="server" visible="false">
                    <asp:LinkButton ID="lnkbtnMergePrintPickList" runat="server" Text="<%$Resources:ButtonResource,lnkbtnMergePrintPickList%>"
                        OnClick="lnkbtnMergePrintPickList_Click"></asp:LinkButton>
                </td>
            </tr>
            <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                <td class="line" id="tdlnkbtnPrintPickDivide" runat="server" visible="false">
                    <asp:LinkButton ID="lnkbtnPrintPickDivide" runat="server" Text="<%$Resources:ButtonResource,lnkbtnPrintPickDivide%>"
                        OnClick="lnkbtnPrintPickDivide_Click"></asp:LinkButton>
                </td>
            </tr>
            <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                <td class="line" id="tdlnkbtnBatchOutboundList" runat="server" visible="false">
                    <asp:LinkButton ID="lnkbtnBatchOutboundList" runat="server" Text="<%$Resources:ButtonResource,lnkbtnBatchOutboundList%>"
                        OnClick="lnkbtnBatchOutboundList_Click"></asp:LinkButton>
                </td>
            </tr>
            <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                <td class="line" id="tdlnkbtnBatchShippingOrder" runat="server" visible="false">
                    <asp:LinkButton ID="lnkbtnBatchShippingOrder" runat="server" Text="<%$Resources:ButtonResource,lnkbtnBatchShippingOrder%>"
                        OnClick="lnkbtnBatchShippingOrder_Click"></asp:LinkButton>
                </td>
            </tr>
            <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                <td class="line" id="tdlnkbtnPrintBatchPickAdvice" runat="server" visible="false">
                    <asp:LinkButton ID="lnkbtnPrintBatchPickAdvice" runat="server" Text="<%$Resources:ButtonResource,lnkbtnPrintBatchPickAdvice%>"
                        OnClick="lnkbtnPrintBatchPickAdvice_Click"></asp:LinkButton>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>

<script language="javascript" type="text/javascript" event="onclick" for="document">
	<!--
		hiddenDiv();
		hiddenReportDiv();
	//-->
</script>

<!--修改 发货时间调用-->
<table id="tbReleasePickTasks" width="500" style="display: none;" border="0" align="center"
    cellpadding="0" cellspacing="0">
    <tr>
        <td height="34" background="../Images/slotbg_01.gif">
            <table width="94%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                    <td>
                        <span class="warehoustitle">发放任务</span>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td height="35" background="../Images/slotbg_03.gif">
            <table width="90%" border="0" align="center" cellpadding="2" cellspacing="0">
                <tr>
                    <td width="30%">
                    </td>
                    <td class="areaname">
                        用户：
                    </td>
                </tr>
                <tr>
                    <td width="30%">
                    </td>
                    <td class="areamessage">
                        <input id="txtUserID" type="text" class="textbox" runat="server" onblur="GetValue(this)" /><img
                            src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectUserID();" />
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="center">
                        <input id="btnConfirm" type="button" value="确认" runat="server" class="button" onserverclick="btnConfirm_Click" />
                        &nbsp;
                        <asp:button id="btnClose" runat="server" cssclass="button" text="取消" onclientclick="ReleasePickTasksClose();return false;" />
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td height="7" background="../Images/slotbg_02.gif">
        </td>
    </tr>
    <tr>
        <td background="../Images/slotbg_03.gif">
            <div style="overflow-y: auto; height: 20px; width: 100%;">
            </div>
        </td>
    </tr>
    <tr>
        <td height="18" background="../Images/slotbg_04.gif">
            &nbsp;
        </td>
    </tr>
</table>
